﻿<%@ Page Title="" Language="C#" MasterPageFile="~/H_masterPage.Master" AutoEventWireup="true" CodeBehind="L_BrowseProjects1.aspx.cs" Inherits="ShiCaiWang1.L_BrowseProjects1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="css/L-browse.css" />
    <%--<script type="text/javascript">
        function fontSize(){
            var deviceWidth=document.documentElement.clientWidth>760?760:document.documentElement.clientWidth;
            document.documentElement.style.fontSize=(deviceWidth/76)+"px";
        }
        fontSize();
        window.onresize=fontSize;
    </script>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="Thebody">
        <div class="grid " id="browse_top">
            <ul class="grid-cell-6 grid">
                <li class="grid-cell-1"><a href="#">全部</a></li>
                <li class="grid-cell-1"><a href="#">科技</a></li>
                <li class="grid-cell-1"><a href="#">艺术</a></li>
                <li class="grid-cell-1"><a href="#">设计</a></li>
                <li class="grid-cell-1"><a href="#">音乐</a></li>
                <li class="grid-cell-1"><a href="#">影视</a></li>
                <li class="grid-cell-1"><a href="#">出版</a></li>
                <li class="grid-cell-1"><a href="#">动漫</a></li>
                <li class="grid-cell-1"><a href="#">公益</a></li>
                <li class="grid-cell-1"><a href="#">公开课</a></li>
                <li class="grid-cell-1"><a href="#">农业</a></li>
                <li class="grid-cell-1"><a href="#">其他</a></li>
            </ul>
            <ul class="grid-cell-1"></ul>
            <ul class="grid-cell-1"></ul>
            <ul class="grid-cell-1 grid" id="browse_top_rg">
                <li class="grid-cell-1"><a href="#">众筹制造</a></li>
                <li class="grid-cell-1"><a href="#">原创手工</a></li>
                <li class="grid-cell-1"><a href="#">硬件设备</a></li>
            </ul>

        </div>
        <hr />

        <div class="" id="">
            <ul class="grid schedule">
                <li class="grid-cell-1" id="schedule_1"><a href="#">所有项目(1234)</a></li>
                <li class="grid-cell-1" id="schedule_2"><a href="#">众筹中(123)</a></li>
                <li class="grid-cell-1" id="schedule_3"><a href="#">已完成(123)</a></li>
            </ul>
            <asp:DropDownList ID="projectSort" runat="server" ClientIDMode="Static">
                <asp:ListItem Value="默认排序">默认排序</asp:ListItem>
                <asp:ListItem Value="时间排序">时间排序</asp:ListItem>
            </asp:DropDownList>
        </div>
        <asp:Repeater ID="Rp_list" runat="server">
                        <ItemTemplate>
                            <div id="list_detail">
                                <div id="btn_like">
                                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Image/btn_like.png" />
                                </div>
                                <div id="people"><%# Eval("Like_number") %></div>
                                <div id="food">
                                    <div id="tu">
                                        <a href="#?ProjectID=<%# Eval("ProjectID") %>">
                                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# "~/Pic/"+Eval("Project_cover") %>' /></a>
                                    </div>
                                    <div id="detail1"><%# Eval("Project_Name") %></div>
                                    <div id="detail2"><span>目标：<%# Eval("Raise_day") %>天</span>  ¥<%# Eval("Project_Money") %><span id="state"><%# Eval("Financing_state") %></span></div>
                                    <div id="detail5" style='width: <%# int.Parse( Eval("chouji").ToString())<=100? Eval("chouji"):100 %>%'>
                                    </div>
                                    <div id="detail3"><span><%# int.Parse( Eval("chouji").ToString())<=100? Eval("chouji"):100 %>%</span><span>¥<%# Eval("Raised_amount") %></span><span><%# Eval("shengyutime") %>天</span></div>
                                    <div id="detail4"><span>已达</span><span>已筹资</span><span>剩余时间</span></div>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>

                    <%--<webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="2"></webdiyer:AspNetPager>--%>
        <div class="container large">
            <div class="pagination">
                <ul>
                    <asp:Repeater ID="Repeater2" runat="server">
                        <ItemTemplate>
                            <li><a href="javascript:void(0)"><%# Eval("") %></a></li>
                            <%#((Container.ItemIndex + 1)  == 7 && Container.ItemIndex > 0) ? "<li class='active'><a href='javascript:void(0)'>......</a></li>" : ""%>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
    </div>

</asp:Content>
